package com.demo.security.cloud.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.security.cloud.entity.TPermission;
import com.demo.security.cloud.entity.dto.PermissionDto;

import java.util.List;

/**
 * @author liyan
 * @since 2020-06-19 20:16:20
 * @describe 服务类
 */
public interface ITPermissionService extends IService<TPermission> {

    List<PermissionDto> getPermissionsByUserId(Long userId);
}
